package cn.alm.allinoneboot.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

@Data
@TableName("tb_product")
public class Product {

    @ExcelIgnore
    private String id;

    @ExcelProperty(value = "编号")
    private String code;

    @ExcelProperty(value = "名称")
    private String name;

    @ExcelIgnore
    private String brandId;

    @ExcelProperty(value = "描述")
    private String description;

    @ExcelProperty(value = "价格")
    private Float price;

    @ExcelIgnore
    private String categoryId;

    @ExcelIgnore
    private String introUrl;

    @ExcelIgnore
    private String contentUrl;

    @ExcelIgnore
    private String createTime;

    @ExcelIgnore
    private String updateTime;

    @ExcelProperty(value = "品牌")
    private String brandName;

    @ExcelProperty(value = "分类")
    private String categoryName;

}
